package com.atjinggu.jinggumail.seckill.feign;

import com.atjinggu.jinggumail.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author jingming
 * @Type ProductFeignService.java
 * @Desc
 * @date 2021/3/23 15:51
 */
@FeignClient("jinggumail-product")
public interface ProductFeignService {
    @RequestMapping("/product/skuinfo/info/{skuId}")
     R getSkuInfo(@PathVariable("skuId") Long skuId);
}
